package com.ruoyi.swimming.service;

import com.ruoyi.swimming.domian.SwimmingTicketTimes;

import java.util.List;

/**
 * 泳票次数Service接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface ISwimmingTicketTimesService 
{
    /**
     * 查询泳票次数
     * 
     * @param id 泳票次数ID
     * @return 泳票次数
     */
    public SwimmingTicketTimes selectSwimmingTicketTimesById(Long id);

    /**
     * 查询泳票次数列表
     * 
     * @param swimmingTicketTimes 泳票次数
     * @return 泳票次数集合
     */
    public List<SwimmingTicketTimes> selectSwimmingTicketTimesList(SwimmingTicketTimes swimmingTicketTimes);

    /**
     * 新增泳票次数
     * 
     * @param swimmingTicketTimes 泳票次数
     * @return 结果
     */
    public int insertSwimmingTicketTimes(SwimmingTicketTimes swimmingTicketTimes);

    /**
     * 修改泳票次数
     * 
     * @param swimmingTicketTimes 泳票次数
     * @return 结果
     */
    public int updateSwimmingTicketTimes(SwimmingTicketTimes swimmingTicketTimes);

    /**
     * 批量删除泳票次数
     * 
     * @param ids 需要删除的泳票次数ID
     * @return 结果
     */
    public int deleteSwimmingTicketTimesByIds(Long[] ids);

    /**
     * 删除泳票次数信息
     * 
     * @param id 泳票次数ID
     * @return 结果
     */
    public int deleteSwimmingTicketTimesById(Long id);
}
